home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13283 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  996 b 

  1. Path: newsfeed.internetmci.com!taurus!news
  2. From: "jerrye@adnc.com" <jerrye@adnc.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Printing (WindowsNT vs Windows95)
  5. Date: Sun, 24 Mar 1996 10:03:56 -0800
  6. Organization: adnc.com
  7. Message-ID: <31558E8B.3CA1@adnc.com>
  8. NNTP-Posting-Host: 205.216.157.68
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win95; I)
  13.  
  14. I wrote a little program to print text files.  This program works under 
  15. windows 95 however, does not work under windows nt.
  16.  
  17. I am using the PRINTDLG struct and a call to ::PrintDlg after setting 
  18. the flags to PD_RETURNDC | PD_RETURNDEFAULT.  I then use the HDC 
  19. returned for the print device with TextOut.
  20.  
  21. Under windows 95 it all works well. Under windows nt it simply pushes 
  22. blank pages out.
  23.  
  24. All that I have read suggests that there is no differance between the 
  25. way printing is done under windows nt versus windows 95.  
  26.  
  27. Any help in this matter is greatly appreciated.
  28.  
  29. Jerry
  30.